# -*- coding: utf-8 -*-

import re

r1 = re.compile("abc")

t = "aaabcbcbabcb"
ret = re.search(r1, t)
print(ret)

ret1 = re.match(r1, t)
print(ret1)

ret = re.findall(r1, t)
print(ret)
